package com.hundun.hddeal.dao;

import com.hundun.hddeal.entity.MtUser;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

/**
 * 媒体用户接口
 * @author 谢
 */
@Component
public interface MtUserMapper {
    int deleteByPrimaryKey(Long id);

    int insert(MtUser record);

    int insertSelective(MtUser record);

    MtUser selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(MtUser record);

    int updateByPrimaryKey(MtUser record);

    MtUser selectByMtUserId(String mtId);

    MtUser findMtUserByMtId(String mtId);

    int updateMoney(@Param("mtId")String mtId,@Param("money") Double money);

    int selectMtUserCount();

    int resetMtPwd(@Param("NewPwd")String NewPwd,@Param("mtId") String mtId);

    MtUser selectPhone(@Param("mtPhone")String mtPhone);
}